import request from '@/utils/request';
// 心脑血管病风险评估
export function getCcvdAssessment(patientId, data) {
  return request({
    url: `/patients/${patientId}/ccvdAssessment`,
    method: 'POST',
    data
  });
}
// 会员服务
export function getInservice(patientId) {
  return request({
    url: `/patient/${patientId}/insurance_order/inservice`,
    method: 'get'
  });
}
// 通过patientId获取会员信息
export function getUserInfoByPatientId(patientId) {
  return request({
    url: `/patient/${patientId}`,
    method: 'get'
  });
}
